﻿@{
	Layout = "";
	string url = ViewBag.url as string;
}
<form id="form1" action="@url" method="post" style="display:none">
    <ul>
        <li><input type="text" name="inputCharset" id="inputCharset" value="@Model.inputCharset" />编码</li>
        <li><input type="text" name="pickupUrl" id="pickupUrl" value="@Model.pickupUrl" />取货地址</li>
        <li><input type="text" name="receiveUrl" id="receiveUrl" value="@Model.receiveUrl" />通知地址</li>
        <li><input type="text" name="version" id="version" value="@Model.version" />版本号</li>
        <li><input type="text" name="language" id="language" value="@Model.language" />语言</li>
        <li><input type="text" name="signType" id="signType" value="@Model.signType" />签名方式</li>
        <li><input type="text" name="merchantId" id="merchantId" value="@Model.merchantId" />商户号</li>

        <li><input type="text" name="orderNo" id="orderNo" value="@Model.orderNo" />订单号</li>
        <li><input type="text" name="orderAmount" id="orderAmount" value="@Model.orderAmount" />订单金额</li>
        <li><input type="text" name="orderCurrency" id="orderCurrency" value="@Model.orderCurrency" />金额币种</li>
        <li><input type="text" name="orderDatetime" id="orderDatetime" value="@Model.orderDatetime" />订单时间</li>

        <li><input type="text" name="productName" id="productName" value="@Model.productName" />商品名</li>

        <li><input type="text" name="ext1" id="ext1" value="@Model.ext1" />扩展字段1</li>
        <li><input type="text" name="ext2" id="ext2" value="@Model.ext2" />扩展字段2</li>
        <li><input type="text" name="extTL" id="extTL" value="@Model.extTL" />扩展业务字段</li>

        <li><input type="text" name="payType" id="payType" value="@Model.payType" />支付方式</li>
        <li><input type="text" name="issuerId" id="issuerId" value="@Model.issuerId" />发卡行机构号</li>
        <li><input type="text" name="signMsg" id="signMsg" value="@Model.signMsg" />签名结果信息</li>
    </ul>
    <span id='test1'></span>
    <br />
    <input type="submit" name="确认支付" value="信息正确，确认付款" />

</form>

<script>
	var form = document.getElementById('form1');
	form.submit();
</script>